package com.laozhao.wintersystem;

public interface Action extends BaseNode{

	public static final String ATTRIBUTE_ACTION_PART = "part";
	public static final String ATTRIBUTE_ACTION_METHOD = "method";
	
	public static final String ELEMENT_ACTION_RESULT = "result";	
	public static final String ELEMENT_ACTION_VALIDATION = "validation";


	/**
	 * get action part
	 * @return action part
	 */
	public String getPart();
	
	/**
	 * set action part
	 * @param action part
	 */
	public void setPart(String part);

	/**
	 * get action method
	 * @return action method
	 */
	public String getMethod();
	
	/**
	 * set action method
	 * @param action method
	 */
	public void setMethod(String method);

	/**
	 * get Action result
	 * @return Action result
	 */
	public String getResult(String id);
	
	/**
	 * set Action result
	 * @param Action result
	 */
	public void setResult(String result);


	/**
	 * get Action validation
	 * @return Action validation
	 */
	public String getValidation(String id);
	
	/**
	 * set Action validation
	 * @param Action validation
	 */
	public void setValidation(String validation);
}
